<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2023/10/20
  Time: 21:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>$Title$</title>
  </head>
  <body>
  123
  <script src="jqeury.js"></script>
  <script>
    var obj = {
     "currentPage":1,
      "size":10
    }
    var str = JSON.stringify(obj);
    $.ajax({
      url: "UserPageServlet",
      type: "POST",
      data: str,
      contentType: "application/json; charset=utf-8",
      dataType: "json",
      success: function(response) {
        // 处理响应
      },
      error: function(xhr, status, error) {
        // 处理错误
      }
    });
  </script>
  </body>
</html>
